package cn.anxingongyou.anxin.service;

import cn.anxingongyou.anxin.entity.Notice;
import com.github.pagehelper.PageInfo;

public interface NoticeService {

    int insert(Notice notice);
    int deleteByPrimaryKey(Long id);
    int updateByPrimaryKeySelective(Notice notice);
    Notice  selectOne(Notice notice);
    Notice  selectOneByPrimaryKey(Long id);
    PageInfo<Notice> page(int pageNum, int pageSize , Notice notice);

}
